<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include/head.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script language="javascript" type="text/javascript"
	src="<%=WEBPATH%>/scripts/provinceCity.js?s=<%=generate%>"></script>
<script language="javascript" type="text/javascript"
	src="<%=WEBPATH%>/scripts/chinaCityData.js?s=<%=generate%>"></script>
<title><html:text name="sys.name" /></title>
</head>
<body> 
<script type="text/javascript">
	function saveFunction(){
		window.location="<%=WEBPATH%>/client/index.crm";
	}
</script>
	<table class="detail" cellspacing="0" cellpadding="0" border="0"
		align="center">
		<tr>
			<td colspan="4" class="x-panel-header" align="center"><html:text
				name="client.action" /></td>
		</tr>
		<tr>
			<td colspan="4" align="center"><input type="button"
				onclick="javascript:saveFunction();" id="saveButton"
				value=" <html:text name="button.back"/> "></td>
		</tr>
		<tr>
			<td colspan="4"><br></br>
			<b><html:text name="categoryValue.basic"></html:text></b>
			<hr style="width: 100%;"></hr>
			</td>
		</tr>
		<tr>
			<td colspan="4"> 
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td width="16%" ><html:text
						name="client.clientCode"></html:text></td>
					<td width="34%"><html:property value="customerBean.clientCode"/></td>
					<td width="16%" ><html:text
						name="client.clientName"></html:text></td>
					<td width="34%"><html:property value="customerBean.clientName"/></td>
				</tr>
				<tr>
					<td><html:text name="client.clientLevel"></html:text></td>
					<td><html:property value="customerBean.clientLevel"/></td>
					<td><html:text name="client.clientSource"></html:text></td>
					<td><html:property value="customerBean.clientSource"/></td>
				</tr>
				<tr>
					<td><html:text name="client.clientType"></html:text></td>
					<td><html:property value="customerBean.clientType"/></td>
					<td><html:text name="client.regionId"></html:text></td>
					<td><html:property value="customerBean.regionId"/></td>
				</tr>
				<tr>
					<td><html:text name="client.clientQuality"></html:text></td>
					<td ><html:property value="customerBean.clientQuality"/></td>
					<td><html:text name="client.buyFlag"></html:text></td>
					<td ><html:property value="customerBean.buyFlag"/></td>
				</tr>
				<tr>
					<td colspan="4"><br></br>
					<b><html:text name="client.clientRemark"></html:text></b>
					<hr style="width: 100%;"></hr>
					</td>
				</tr>
				<tr>
					<td colspan="4"><html:property value="customerBean.clientRemark"/>
					</td>
				</tr>
				<tr>
					<td colspan="4"><br></br>
					<b><html:text name="client.conn"></html:text></b>
					<hr style="width: 100%;"></hr>
					</td>
				</tr>
				<tr>
					<td><html:text name="client.provinceId"></html:text></td>
					<td><html:property value="customerBean.provinceId"/></td>
					<td><html:text name="client.cityId"></html:text></td>
					<td><html:property value="customerBean.cityId"/></td>
				</tr>
				<tr>
					<td><html:text name="client.fax"></html:text></td>
					<td><html:property value="customerBean.fax"/></td>
					<td><html:text name="client.postCode"></html:text></td>
					<td><html:property value="customerBean.postCode"/></td>
				</tr>
				<tr>
					<td><html:text name="client.mainTelephone"></html:text></td>
					<td><html:property value="customerBean.mainTelephone"/></td>
					<td><html:text name="client.telephone"></html:text></td>
					<td><html:property value="customerBean.telephone"/></td>
				</tr>
				<tr>
					<td><html:text name="client.address"></html:text></td>
					<td colspan="3"><html:property value="customerBean.address"/></td>
				</tr>
				<tr>
					<td><html:text name="client.mobile"></html:text></td>
					<td><html:property value="customerBean.mobile"/></td>
					<td><html:text name="client.email"></html:text></td>
					<td><html:property value="customerBean.email"/></td>
				</tr>
				<tr>
					<td><html:text name="client.web"></html:text></td>
					<td colspan="3"><html:property value="customerBean.web"/></td>

				</tr>
				<tr>
					<td colspan="4"><br></br>
					<b><html:text name="client.cinfor"></html:text></b>
					<hr style="width: 100%;"></hr>
					</td>
				</tr>
				<tr>
					<td><html:text name="client.dealing"></html:text></td>
					<td colspan="3"><html:property value="customerBean.dealing"/></td>
				</tr>
				<tr>
					<td><html:text name="client.clientScale"></html:text></td>
					<td><html:property value="customerBean.clientScale"/></td>
					<td><html:text name="client.registerMoney"></html:text></td>
					<td><html:property value="customerBean.registerMoney"/></td>
				</tr>
				<tr>
					<td><html:text name="client.clientKind"></html:text></td>
					<td><html:property value="customerBean.clientKind"/></td>
					<td><html:text name="client.clientTrade"></html:text></td>
					<td><html:property value="customerBean.clientTrade"/></td>
				</tr>
				<tr>
					<td><html:text name="client.clientArtificial"></html:text></td>
					<td><html:property value="customerBean.clientArtificial"/></td>
					<td><html:text name="client.clientBank"></html:text></td>
					<td><html:property value="customerBean.clientBank"/></td>
				</tr>
				<tr>
					<td><html:text name="client.clientAccount"></html:text></td>
					<td><html:property value="customerBean.clientAccount"/></td>
					<td><html:text name="client.taxCode"></html:text></td>
					<td><html:property value="customerBean.taxCode"/></td>
				</tr>
				<html:if test='extendCustomer!=null&&extendCustomer!=""'>
					<tr>
						<td colspan="4"><br></br>
						<b><html:text name="entity.customauto"></html:text></b>
						<hr style="width: 100%;"></hr>
						</td>
					</tr>
					<html:property value="extendCustomer" escape="false"/>
				</html:if>
				<% 
				com.opensymphony.xwork2.util.ValueStack  obj=(com.opensymphony.xwork2.util.ValueStack)request.getAttribute("struts.valueStack");
				obj.setValue("customerBean", null); 
				%>
			</table>
			</td>
		</tr>
	</table>  
</body>
</html>